﻿<%@ page contentType="text/html;charset=UTF-8" isELIgnored="true" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<table class="its">
    <html:form action="/user" method="post">
    <html:hidden property="action" value="login"/>
    <thead>
        <tr class="odd">
            <th colspan="2">用户注册信息</th>
        </tr>
    </thead>    
    <tr class="even">
        <td align="right">登陆名</td>
        <td>
            <bean:write name="user" property="loginName"/>
            <html:hidden property="loginName"/><html:hidden property="password"/>
            <html:hidden property="vc"/>
        </td>
    </tr> 
   <tr class="even">
        <td align="right">名称</td>
        <td>
            <bean:write name="user" property="name"/>
        </td>
    </tr>     
    <tr class="even">
        <td align="right">电子邮件</td>
        <td>
            <bean:write name="user" property="email"/>
        </td>
    </tr> 
    <tr class="odd">
        <td align="right">移动电话</td>
        <td>
            <bean:write name="user" property="mobile"/>
        </td>
    </tr> 
   <tr class="even">
        <td align="right">签名</td>
        <td>
            <bean:write name="user" property="signature"/>
        </td>
    </tr>
    <tr>
        <td align="right"></td>
        <td>
            <input type="submit" value="直接登陆"/>
        </td>
    </tr>    
    </html:form>
    <%
        if(com.mr.qa.GlobalConfigs.HOURS_ADDQUESTION_AFTER_REGISTRATION > 0)
        {
    %>
    <tr class="even">
        <td align="right"></td>
        <td>
            用户注册3小时后才能发帖子，但是可以回复
        </td>
    </tr>
    <%
        }
    %>
</table>
